<%@ page contentType="text/html;charset=UTF-8"%>

<script type="text/javascript">
	 
 var fjWin;//上传附件窗口
	
	//上传附件窗口
    fjWin=new Ext.Window({
        closeAction:'hide',
        title:'上传附件',
        width:430,
        height:100,
        layout:'form',
        buttonAlign:'center',
        labelAlign:'right',
        items:[{
            xtype:'textfield',
            fileUpload: true, 
            fieldLabel:'请选择附件',
            name:'attach',
            inputType:'file'
        }],
        buttons:[{text:'保存',handler:uploadFj},{text:'取消',handler:function(){
            fjWin.hide();
        }}]
    });
    
    function openUploadFj(fj){
    	fjWin.show();
    	document.getElementById("fjFlag").value=fj;
    }
    function uploadFj(){
    	var attache = dwr.util.getValue('attach');
    if (attache.value == '') { Ext.Msg.alert("提示!","请选择附件!");return; }
    var dotIndex = attache.value.lastIndexOf(".");
    if (dotIndex < 0) dotIndex = attache.value.length;
    var attacheName = attache.value.substring(attache.value.lastIndexOf("\\") + 1, dotIndex);
    var attacheType = attache.value.substring(dotIndex + 1);
    var ajid='${id}';
    if($("#hid").val()){
       ajid = $("#hid").val();
    }
    var fjFlag = $("#fjFlag").val();
    if(ajid==null){Ext.Msg.alert("提示!","请先保存案件!");return;}
    FileUploadCntl.uploadJcbFj(ajid,fjFlag,attacheName,attacheType,attache, function (result){
    	var array = eval('(' + result + ')');
    	if(array.success == true){
			alert("上传成功!");
		    var imgTitle = attacheName+'.'+attacheType;
		    var fjUrl = '${ctx}'+array.errMsg;
		    var fjUrl2 = "'"+fjUrl+"'";
		    var html = '<a href="javascript:openFj('+fjUrl2+');" title="'+imgTitle+'"><img src="${ctx}/resources/images/fileType/'+attacheType+'.gif" onerror="nofound();" border="0" class="img_16x16"/></a>';
		    var fjFlag = document.getElementById("fjFlag").value
		    document.getElementById(fjFlag+"div").innerHTML = html;
    	}else{
    		alert("上传失败!");
    	}
		//window.location.reload();
	});
    }
    
    function openFj(url) {
  		window.open(url);
	}
	function nofound(){
		var img=event.srcElement; 
		img.src="${ctx}/resources/images/fileType/default.gif"; 
		img.onerror=null;//控制不要一直跳动 
	}
	//判断检查表是否合格
function isSatisfy(flag){
    var jcjgFlag =0;
    //判断审核表是否合格
    if(flag==0){
        for(var i=1;i<=53;i++){
            var obj=document.getElementsByName("jcjg"+i);
            for (j=0;j<obj.length;j++){  //遍历Radio  
                if(obj[j].checked){
                    var objValue = obj[j].value;//获取Radio的值
                    if(objValue == 0){
                        jcjgFlag = 1;
                        return;
                    }
                }               
            }
        }
        if(jcjgFlag == 1){
            document.getElementById("jcjl").value="不合格";
        }else{
            document.getElementById("jcjl").value="合格";
        }     
    }else if(flag==1){
        document.getElementById("jcjl").value="不合格";
    }   
}

function selectUser(id){	
	/*var taskInstDbid=WF_CONFIG.taskInstDbid;
	var assigneeRange="$ROLE.ync_jbr";
	var win = new Ext.ux.wf.PublicAddressBook({
						//bgColor: this.bgColor
						//parentWin: this
					});		
	win.open(assigneeRange);*/
	var url="${ctx}/yw-yn-jzfqwczc-jbxx!toSelectUser.action?temlateCode=yunshu";		
	var userIds=window.showModalDialog(url,"","dialogWidth:650px;dialogHeight:360px"); 
	if(userIds!="" && userIds!=undefined){
	  document.getElementById(id).innerText=userIds;
	}
	
	//YwUtil.openWin({url: url, w: 620, h: 300});
}
</script>
        <table width="700" border="0" cellspacing="2" cellpadding="2">
      <tr>
        <td><table width="100%" border="0" cellspacing="2" cellpadding="2" >
          <tr><td height="55" bordercolor="#000000" align="center" style="font-size:22px;">
            <br/><b>广州市建筑废弃物处置证(运输)现场检查表</b> <br/> <br/>
          </td></tr>
        </table></td>
      </tr>
      <tr>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="2">
                <tr> 
                  <td align="left" bordercolor="#000000" style="padding: 1px 1px 1px 1px;">
                    企业名称:
                    <input id="qyname_khb" value="${sqdw }" type="text" style="width:300" class="readonly_cls" readonly />
                  </td>
                  <td align="right" height="25" bordercolor="#000000" style="padding: 1px 1px 1px 1px;">
                    审核时间:
                   <input name="" style="width:180" value="<s:date name='sarq' format="yyyy年MM月dd日"/>" onclick="WdatePicker({skin:'ext', dateFmt:'yyyy年MM月dd日'});" type="text" class="textdocWdate" readonly />
                  </td>
                </tr>
            </table>
        </td>
       </tr>
            <tr>
              <td><table width="100%" border="5" cellspacing="0" cellpadding="2" class="tpl_list_ui">
                <tr>
                  <td width="8%" height="0"></td>
                  <td width="8%"></td>
                  <td width="8%"></td>
                  <td width="8%"></td>
                  <td width="8%"></td>
                  <td width="8%"></td>
                  <td width="8%"></td>
                  <td width="8%"></td>
                  <td width="8%"></td>
                  <td width="8%"></td>
                  <td width="8%"></td>
                  <td width="8%"></td>
                </tr>
                <tr>
                    <td bordercolor="#000000" colspan="1" height="25" align="center">序号</td>
                    <td bordercolor="#000000" colspan="1" height="25" align="center">类别</td>
                    <td bordercolor="#000000" colspan="2" width="20%"  height="25" align="center">项目</td>
                    <td bordercolor="#000000" colspan="2" width="35%" height="25" align="center">检查人</td>
                    <td bordercolor="#000000" colspan="2" height="25" align="center">考核结果</td>
                    <td bordercolor="#000000" colspan="2" height="25" align="center">附件
                    	<input type="hidden" value="" id="fjFlag"/>
                    </td>
                    <td bordercolor="#000000" colspan="2" height="25" align="center">备注</td>
                </tr>
                <tr style="display:none">
                    <td bordercolor="#000000" colspan="1" height="25" align="center">1</td>
                    <td bordercolor="#000000" colspan="1" rowspan="7" align="center">资料类</td>
                    <td bordercolor="#000000" colspan="2" height="25" align="left">《广州市建筑废弃物处置证(运输)》申请表</td>
                    <td bordercolor="#000000" colspan="2" height="25" align="left">
                    	<c:choose>
	                    	<c:when test="${!empty jcqk1}">
	                    	<textarea class="text" name="jcqk1" id="jcqk1"  rows="" cols="" type="text">${jcqk1 }</textarea>
	                    	</c:when>
	                    	<c:otherwise>
	                    	 <textarea class="text" name="jcqk1" id="jcqk1" rows="" cols="" type="text">${CurrUserName }</textarea>
	                    	</c:otherwise>
                    	</c:choose>
                        <input type="button" value="选择" onclick="selectUser('jcqk1');">
                    </td>
                    <td colspan="2" bordercolor="#000000" style="padding: 1px 1px 1px 1px;">
                        <input name="jcjg1"  value="1" ${jcjg1==null ||jcjg1==1?'checked':'' } type="radio" onclick="isSatisfy(0)"/>合格<input name="jcjg1"  value="0" ${jcjg1==0?'checked':'' } type="radio"  onclick="isSatisfy(1)">不合格 
                    	 <!--<textarea class="text" name="jcjg1" rows="" cols="" type="text">${jcjg1 }</textarea>--> 
                    </td>
                    <td colspan="1" align="center" bordercolor="#000000" style="padding: 1px 1px 1px 1px;">
                    	<span id="fj1div">
                    		<c:if test="${!empty fj1}">
                    			<a href="javascript:openFj('${ctx}${fj1}');" title="${fj1name}.${fj1type}"><img src="${ctx}/resources/images/fileType/${fj1type}.gif" onerror="nofound();" border="0" class="img_16x16"/></a>
                    		</c:if>
                    	</span>
                    </td>  
                    <td colspan="1" align="center" bordercolor="#000000" style="padding: 1px 1px 1px 1px;">
                    	<input type="button" value="上传" onclick="openUploadFj('fj1');"/>
                    </td>
                    <td bordercolor="#000000" colspan="2" height="25" align="left">
                        <textarea class="text" name="bz1" rows="" cols="" type="text">${bz1 }</textarea>
                    </td>
                </tr>
                <tr>
                    <td bordercolor="#000000" colspan="1" height="25" align="center">1</td>
                    <td bordercolor="#000000" colspan="1" rowspan="6" align="center">资料类</td>
                    <td bordercolor="#000000" colspan="2" height="25" align="left">合法有效的《企业法人营业执照》、《道路运输经营许可证》原件和复印件，校对后退还原件</td>
                    <td bordercolor="#000000" colspan="2" height="25" align="left">
                   	 <c:choose>
	                    	<c:when test="${!empty jcqk2}">
	                    	<textarea class="text" name="jcqk2" id="jcqk2"  rows="" cols="" type="text">${jcqk2}</textarea>
	                    	</c:when>
	                    	<c:otherwise>
	                    	 <textarea class="text" name="jcqk2" id="jcqk2" rows="" cols="" type="text">${CurrUserName }</textarea>
	                    	</c:otherwise>
                    	</c:choose>
                        <input type="button" value="选择" onclick="selectUser('jcqk2');">
                    </td>
                    <td colspan="2" bordercolor="#000000" style="padding: 1px 1px 1px 1px;">
                        <input name="jcjg2"  value="1" ${jcjg2==null ||jcjg2==1?'checked':'' } type="radio" onclick="isSatisfy(0)"/>合格<input name="jcjg2"  value="0" ${jcjg2==0?'checked':'' } type="radio"  onclick="isSatisfy(1)">不合格
                     	 <!--<textarea class="text" name="jcjg2" rows="" cols="" type="text">${jcjg2 }</textarea> --> 
                    </td>
                    <td colspan="1"  align="center" bordercolor="#000000" style="padding: 1px 1px 1px 1px;">
                    	<div id="fj2div">
                    		<c:if test="${!empty fj2}">
                    			<a href="javascript:openFj('${ctx}${fj2}');" title="${fj2name}.${fj2type}"><img src="${ctx}/resources/images/fileType/${fj2type}.gif" onerror="nofound();" border="0" class="img_16x16"/></a>
                    		</c:if>
                    	</div>
                    </td>  
                    <td colspan="1"  align="center" bordercolor="#000000" style="padding: 1px 1px 1px 1px;">
                    	<input type="button" value="上传" onclick="openUploadFj('fj2');"/>
                    </td>
                    <td bordercolor="#000000" colspan="2" height="25" align="left">
                        <textarea class="text" name="bz2" rows="" cols="" type="text">${bz2 }</textarea>
                    </td>
                </tr>
                <tr>
                    <td bordercolor="#000000" colspan="1" height="25" align="center">2</td>
                    <td bordercolor="#000000" colspan="2" height="25" align="left">管理机构和人员列表（内容包括姓名、职务、联系电话）</td>
                    <td bordercolor="#000000" colspan="2" height="25" align="left">
                        <c:choose>
	                    	<c:when test="${!empty jcqk3}">
	                    	<textarea class="text" name="jcqk3" id="jcqk3"  rows="" cols="" type="text">${jcqk3 }</textarea>
	                    	</c:when>
	                    	<c:otherwise>
	                    	 <textarea class="text" name="jcqk3" id="jcqk3" rows="" cols="" type="text">${CurrUserName }</textarea>
	                    	</c:otherwise>
                    	</c:choose>
                      	 <input type="button" value="选择" onclick="selectUser('jcqk3');">
                    </td>
                    <td colspan="2" bordercolor="#000000" style="padding: 1px 1px 1px 1px;">
                        <input name="jcjg3"  value="1" ${jcjg3==null ||jcjg3==1?'checked':'' } type="radio" onclick="isSatisfy(0)"/>合格<input name="jcjg3"  value="0" ${jcjg3==0?'checked':'' } type="radio"  onclick="isSatisfy(1)">不合格 
                     	<!-- <textarea class="text" name="jcjg3" rows="" cols="" type="text">${jcjg3}</textarea> -->
                    </td>
                    <td colspan="1"  align="center" bordercolor="#000000" style="padding: 1px 1px 1px 1px;">
                    	<div id="fj3div">
                    		<c:if test="${!empty fj3}">
                    			<a href="javascript:openFj('${ctx}${fj3}');" title="${fj3name}.${fj3type}"><img src="${ctx}/resources/images/fileType/${fj3type}.gif" onerror="nofound();" border="0" class="img_16x16"/></a>
                    		</c:if>
                    	</div>
                    </td>      
                     <td colspan="1"  align="center" bordercolor="#000000" style="padding: 1px 1px 1px 1px;">
                    	<input type="button" value="上传" onclick="openUploadFj('fj3');"/>
                    </td>
					<td bordercolor="#000000" colspan="2" height="25" align="left">
                        <textarea class="text" name="bz3" rows="" cols="" type="text">${bz3 }</textarea>
                    </td>
                </tr>
                <tr>
                    <td bordercolor="#000000" colspan="1" height="25" align="center">3</td>
                    <td bordercolor="#000000" colspan="2" height="25" align="left">内部管理制度文本</td>
                    <td bordercolor="#000000" colspan="2" height="25" align="left">
                      <c:choose>
	                    	<c:when test="${!empty jcqk4}">
	                    	<textarea class="text" name="jcqk4" id="jcqk4"  rows="" cols="" type="text">${jcqk4 }</textarea>
	                    	</c:when>
	                    	<c:otherwise>
	                    	 <textarea class="text" name="jcqk4" id="jcqk4" rows="" cols="" type="text">${CurrUserName }</textarea>
	                    	</c:otherwise>
                    	</c:choose>
                      	 <input type="button" value="选择" onclick="selectUser('jcqk4');">
                    </td>
                    <td colspan="2" bordercolor="#000000" style="padding: 1px 1px 1px 1px;">
                       <input name="jcjg4"  value="1" ${jcjg4==null ||jcjg4==1?'checked':'' } type="radio" onclick="isSatisfy(0)"/>合格<input name="jcjg4"  value="0" ${jcjg4==0?'checked':'' } type="radio"  onclick="isSatisfy(1)">不合格
                     	 <!-- <textarea class="text" name="jcjg4" rows="" cols="" type="text">${jcjg4 }</textarea> -->
                    </td>
                    <td colspan="1" align="center"  bordercolor="#000000" style="padding: 1px 1px 1px 1px;">
                    	<div id="fj4div">
                    		<c:if test="${!empty fj4}">
                    			<a href="javascript:openFj('${ctx}${fj4}');" title="${fj4name}.${fj4type}"><img src="${ctx}/resources/images/fileType/${fj4type}.gif" onerror="nofound();" border="0" class="img_16x16"/></a>
                    		</c:if>
                    	</div>
                    </td>    
                    <td colspan="1" align="center"  bordercolor="#000000" style="padding: 1px 1px 1px 1px;">
                    	<input type="button" value="上传" onclick="openUploadFj('fj4');"/>
                    </td>
                    <td bordercolor="#000000" colspan="2" height="25" align="left">
                        <textarea class="text" name="bz4" rows="" cols="" type="text">${bz4 }</textarea>
                    </td>
                </tr>
                <tr>
                    <td bordercolor="#000000" colspan="1" height="25" align="center">4</td>
                    <td bordercolor="#000000" colspan="2" height="25" align="left">固定办公场所证明</td>
                    <td bordercolor="#000000" colspan="2" height="25" align="left">
                        <c:choose>
	                    	<c:when test="${!empty jcqk5}">
	                    	<textarea class="text" name="jcqk5" id="jcqk5"  rows="" cols="" type="text">${jcqk5 }</textarea>
	                    	</c:when>
	                    	<c:otherwise>
	                    	 <textarea class="text" name="jcqk5" id="jcqk5" rows="" cols="" type="text">${CurrUserName }</textarea>
	                    	</c:otherwise>
                    	</c:choose>
                      	 <input type="button" value="选择" onclick="selectUser('jcqk5');">
                    </td>
                    <td colspan="2" bordercolor="#000000" style="padding: 1px 1px 1px 1px;">
                       <input name="jcjg5"  value="1" ${jcjg5==null ||jcjg5==1?'checked':'' } type="radio" onclick="isSatisfy(0)"/>合格<input name="jcjg5"  value="0" ${jcjg5==0?'checked':'' } type="radio"  onclick="isSatisfy(1)">不合格
                     	<!--<textarea class="text" name="jcjg5" rows="" cols="" type="text">${jcjg5 }</textarea> --> 
                    </td>
                    <td colspan="1" align="center"  bordercolor="#000000" style="padding: 1px 1px 1px 1px;">
                    	<div id="fj5div">
                    		<c:if test="${!empty fj5}">
                    			<a href="javascript:openFj('${ctx}${fj5}');" title="${fj5name}.${fj5type}"><img src="${ctx}/resources/images/fileType/${fj5type}.gif" onerror="nofound();" border="0" class="img_16x16"/></a>
                    		</c:if>
                    	</div>
                    </td>       
                    <td colspan="1" align="center"  bordercolor="#000000" style="padding: 1px 1px 1px 1px;">
                    	<input type="button" value="上传" onclick="openUploadFj('fj5');"/>
                    </td>
                    <td bordercolor="#000000" colspan="2" height="25" align="left">
                        <textarea class="text" name="bz5" rows="" cols="" type="text">${bz5 }</textarea>
                    </td>
                </tr>
                <tr>
                    <td bordercolor="#000000" colspan="1" height="25" align="center">5</td>
                    <td bordercolor="#000000" colspan="2" height="25" align="left">车辆停放场所证明</td>
                    <td bordercolor="#000000" colspan="2" height="25" align="left">
                         <c:choose>
	                    	<c:when test="${!empty jcqk6}">
	                    	<textarea class="text" name="jcqk6" id="jcqk6"  rows="" cols="" type="text">${jcqk6 }</textarea>
	                    	</c:when>
	                    	<c:otherwise>
	                    	 <textarea class="text" name="jcqk6" id="jcqk6" rows="" cols="" type="text">${CurrUserName }</textarea>
	                    	</c:otherwise>
                    	</c:choose>
                      	 <input type="button" value="选择" onclick="selectUser('jcqk6');">
                    </td>
                    <td colspan="2" bordercolor="#000000" style="padding: 1px 1px 1px 1px;">
                       <input name="jcjg6"  value="1" ${jcjg6==null ||jcjg6==1?'checked':'' } type="radio" onclick="isSatisfy(0)"/>合格<input name="jcjg6"  value="0" ${jcjg6==0?'checked':'' } type="radio"  onclick="isSatisfy(1)">不合格 
                     	 <!-- <textarea class="text" name="jcjg6" rows="" cols="" type="text">${jcjg6 }</textarea>--> 
                    </td>
                    <td colspan="1" align="center"  bordercolor="#000000" style="padding: 1px 1px 1px 1px;">
                    	<div id="fj6div">
                    		<c:if test="${!empty fj6}">
                    			<a href="javascript:openFj('${ctx}${fj6}');" title="${fj6name}.${fj6type}"><img src="${ctx}/resources/images/fileType/${fj6type}.gif" onerror="nofound();" border="0" class="img_16x16"/></a>
                    		</c:if>
                    	</div>
                    </td>       
                    <td colspan="1" align="center"  bordercolor="#000000" style="padding: 1px 1px 1px 1px;">
                    	<input type="button" value="上传" onclick="openUploadFj('fj6');"/>
                    </td>
                    <td bordercolor="#000000" colspan="2" height="25" align="left">
                        <textarea class="text" name="bz6" rows="" cols="" type="text">${bz6 }</textarea>
                    </td>
                </tr>
                <tr>
                    <td bordercolor="#000000" colspan="1" height="25" align="center">6</td>
                    <td bordercolor="#000000" colspan="2" height="25" align="left">相关人员从事执照</td>
                    <td bordercolor="#000000" colspan="2" height="25" align="left">
                            <c:choose>
	                    	<c:when test="${!empty jcqk7}">
	                    	<textarea class="text" name="jcqk7" id="jcqk7"  rows="" cols="" type="text">${jcqk7}</textarea>
	                    	</c:when>
	                    	<c:otherwise>
	                    	 <textarea class="text" name="jcqk7" id="jcqk7" rows="" cols="" type="text">${CurrUserName }</textarea>
	                    	</c:otherwise>
                    	</c:choose>
                      	 <input type="button" value="选择" onclick="selectUser('jcqk6');">
                    </td>
                    <td colspan="2" bordercolor="#000000" style="padding: 1px 1px 1px 1px;">
                       <input name="jcjg7"  value="1" ${jcjg7==null ||jcjg7==1?'checked':'' } type="radio" onclick="isSatisfy(0)"/>合格<input name="jcjg7"  value="0" ${jcjg7==0?'checked':'' } type="radio"  onclick="isSatisfy(1)">不合格 
                     	 <!-- <textarea class="text" name="jcjg7" rows="" cols="" type="text">${jcjg7 }</textarea>--> 
                    </td>
                    <td colspan="1" align="center"  bordercolor="#000000" style="padding: 1px 1px 1px 1px;">
                    	<div id="fj7div">
                    		<c:if test="${!empty fj7}">
                    			<a href="javascript:openFj('${ctx}${fj7}');" title="${fj7name}.${fj7type}"><img src="${ctx}/resources/images/fileType/${fj7type}.gif" onerror="nofound();" border="0" class="img_16x16"/></a>
                    		</c:if>
                    	</div>
                    </td>     
                    <td colspan="1" align="center"  bordercolor="#000000" style="padding: 1px 1px 1px 1px;">
                    	<input type="button" value="上传" onclick="openUploadFj('fj7');"/>
                    </td>
                    <td bordercolor="#000000" colspan="2" height="25" align="left">
                        <textarea class="text" name="bz7" rows="" cols="" type="text">${bz7 }</textarea>
                    </td>
                </tr>
                <!-- 
                <tr>
                    <td bordercolor="#000000" colspan="1" height="25" align="center">8</td>
                    <td bordercolor="#000000" colspan="2" height="25" align="left">相关人员从业执照</td>
                    <td bordercolor="#000000" colspan="2" height="25" align="left">
                        <textarea class="text" name="jcqk8" rows="" cols="" type="text">${jcqk8 }</textarea>
                    </td>
                    <td colspan="2" bordercolor="#000000" style="padding: 1px 1px 1px 1px;">
                    -->
                        <!-- <input name="jcjg8"  value="1" ${jcjg8==null ||jcjg8==1?'checked':'' } type="radio" onclick="isSatisfy(0)"/>合格&nbsp;&nbsp;&nbsp;<input name="jcjg8"  value="0" ${jcjg8==0?'checked':'' } type="radio"  onclick="isSatisfy(0)">不合格 --> 
                     	<!-- <textarea class="text" name="jcjg8" rows="" cols="" type="text">${jcjg8 }</textarea>
                    </td>
                    <td colspan="1" align="center"  bordercolor="#000000" style="padding: 1px 1px 1px 1px;">
                    	<div id="fj8div">
                    		<c:if test="${!empty fj8}">
                    			<a href="javascript:openFj('${ctx}${fj8}');" title="${fj8name}.${fj8type}"><img src="${ctx}/resources/images/fileType/${fj8type}.gif" onerror="nofound();" border="0" class="img_16x16"/></a>
                    		</c:if>
                    	</div>
                    </td>       
                    <td colspan="1" align="center"  bordercolor="#000000" style="padding: 1px 1px 1px 1px;">
                    	<input type="button" value="上传" onclick="openUploadFj('fj8');"/>
                    </td>
                    <td bordercolor="#000000" colspan="2" height="25" align="left">
                        <textarea class="text" name="bz8" rows="" cols="" type="text">${bz8 }</textarea>
                    </td>
                </tr>
                 -->
                <tr>
                    <td bordercolor="#000000" colspan="1" height="25" align="center">7</td>
                    <td bordercolor="#000000" colspan="1" rowspan="5" align="center">现场检查类</td>
                    <td bordercolor="#000000" colspan="2" height="25" align="left">停车场面积（平方）</td>
                    <td bordercolor="#000000" colspan="2" height="25" align="left">
                            <c:choose>
	                    	<c:when test="${!empty jcqk9}">
	                    	<textarea class="text" name="jcqk9" id="jcqk9"  rows="" cols="" type="text">${jcqk9 }</textarea>
	                    	</c:when>
	                    	<c:otherwise>
	                    	 <textarea class="text" name="jcqk9" id="jcqk9" rows="" cols="" type="text">${CurrUserName }</textarea>
	                    	</c:otherwise>
                    	</c:choose>
                      	 <input type="button" value="选择" onclick="selectUser('jcqk9');">
                    </td>
                    <td colspan="2" bordercolor="#000000" style="padding: 1px 1px 1px 1px;">
                       <input name="jcjg9"  value="1" ${jcjg9==null ||jcjg9==1?'checked':'' } type="radio" onclick="isSatisfy(0)"/>合格<input name="jcjg9"  value="0" ${jcjg9==0?'checked':'' } type="radio"  onclick="isSatisfy(1)">不合格 
                     	 <!-- <textarea class="text" name="jcjg9" rows="" cols="" type="text">${jcjg9 }</textarea>--> 
                    </td>
                    <td colspan="1" align="center"  bordercolor="#000000" style="padding: 1px 1px 1px 1px;">
                    	<div id="fj9div">
                    		<c:if test="${!empty fj9}">
                    			<a href="javascript:openFj('${ctx}${fj9}');" title="${fj9name}.${fj9type}"><img src="${ctx}/resources/images/fileType/${fj9type}.gif" onerror="nofound();" border="0" class="img_16x16"/></a>
                    		</c:if>
                    	</div>
                    </td>       
                    <td colspan="1" align="center"  bordercolor="#000000" style="padding: 1px 1px 1px 1px;">
                    	<input type="button" value="上传" onclick="openUploadFj('fj9');"/>
                    </td>
                    <td bordercolor="#000000" colspan="2" height="25" align="left">
                        <textarea class="text" name="bz9" rows="" cols="" type="text">${bz9 }</textarea>
                    </td>
                </tr>
                <tr>
                    <td bordercolor="#000000" colspan="1" height="25" align="center">8</td>
                    <td bordercolor="#000000" colspan="2" height="25" align="left">办公场所设置</td>
                    <td colspan="2" bordercolor="#000000" style="padding: 1px 1px 1px 1px;">
                      <c:choose>
	                    	<c:when test="${!empty jcqk10}">
	                    	<textarea class="text" name="jcqk10" id="jcqk10"  rows="" cols="" type="text">${jcqk10 }</textarea>
	                    	</c:when>
	                    	<c:otherwise>
	                    	 <textarea class="text" name="jcqk10" id="jcqk10" rows="" cols="" type="text">${CurrUserName }</textarea>
	                    	</c:otherwise>
                    	</c:choose>
                       <input type="button" value="选择" onclick="selectUser('jcqk10');">
                    </td>
                    <td colspan="2" bordercolor="#000000" style="padding: 1px 1px 1px 1px;">
                    	
                    	<input name="jcjg10"  value="1" ${jcjg10==null ||jcjg10==1?'checked':'' } type="radio" onclick="isSatisfy(0)"/>合格<input name="jcjg10"  value="0" ${jcjg10==0?'checked':'' } type="radio"  onclick="isSatisfy(1)">不合格 
                    	<!-- <textarea class="text" name="jcjg10" rows="" cols="" type="text">${jcjg10 }</textarea> --> 
                    </td>   
                    <td colspan="1" align="center"  bordercolor="#000000" style="padding: 1px 1px 1px 1px;">
                    	<div id="fj10div">
                    		<c:if test="${!empty fj10}">
                    			<a href="javascript:openFj('${ctx}${fj10}');" title="${fj10name}.${fj10type}"><img src="${ctx}/resources/images/fileType/${fj10type}.gif" onerror="nofound();" border="0" class="img_16x16"/></a>
                    		</c:if>
                    	</div>
                    </td>    
                    <td colspan="1" align="center"  bordercolor="#000000" style="padding: 1px 1px 1px 1px;">
                    	<input type="button" value="上传" onclick="openUploadFj('fj10');"/>
                    </td>
                    <td bordercolor="#000000" colspan="2" height="25" align="left">
                        <textarea class="text" name="bz10" rows="" cols="" type="text">${bz10 }</textarea>
                    </td>
                </tr>   
                <tr>
                    <td bordercolor="#000000" colspan="1" height="25" align="center">9</td>
                    <td bordercolor="#000000" colspan="2" height="25" align="left">健全的管理制度</td>
                    <td colspan="2" bordercolor="#000000" style="padding: 1px 1px 1px 1px;">
                       <c:choose>
	                    	<c:when test="${!empty jcqk11}">
	                    	<textarea class="text" name="jcqk11" id="jcqk11"  rows="" cols="" type="text">${jcqk11}</textarea>
	                    	</c:when>
	                    	<c:otherwise>
	                    	 <textarea class="text" name="jcqk11" id="jcqk11" rows="" cols="" type="text">${CurrUserName }</textarea>
	                    	</c:otherwise>
                    	</c:choose>
                       <input type="button" value="选择" onclick="selectUser('jcqk11');">
                    </td>
                    <td colspan="2" bordercolor="#000000" style="padding: 1px 1px 1px 1px;">
                    	<input name="jcjg11"  value="1" ${jcjg11==null ||jcjg11==1?'checked':'' } type="radio" onclick="isSatisfy(0)"/>合格<input name="jcjg11"  value="0" ${jcjg11==0?'checked':'' } type="radio"  onclick="isSatisfy(1)">不合格 
                    	<!-- <textarea class="text" name="jcjg11" rows="" cols="" type="text">${jcjg11 }</textarea> --> 
                    </td>       
                    <td colspan="1" align="center"  bordercolor="#000000" style="padding: 1px 1px 1px 1px;">
                    	<div id="fj11div">
                    		<c:if test="${!empty fj11}">
                    			<a href="javascript:openFj('${ctx}${fj11}');" title="${fj11name}.${fj11type}"><img src="${ctx}/resources/images/fileType/${fj11type}.gif" onerror="nofound();" border="0" class="img_16x16"/></a>
                    		</c:if>
                    	</div>
                    </td>
                    <td colspan="1" align="center"  bordercolor="#000000" style="padding: 1px 1px 1px 1px;">
                    	<input type="button" value="上传" onclick="openUploadFj('fj11');"/>
                    </td>
                    <td bordercolor="#000000" colspan="2" height="25" align="left">
                        <textarea class="text" name="bz11" rows="" cols="" type="text">${bz11 }</textarea>
                    </td>
                </tr>
                <tr>
                    <td bordercolor="#000000" colspan="1" height="25" align="center">10</td>
                    <td bordercolor="#000000" colspan="2" height="25" align="left">管理人员考核</td>
                    <td bordercolor="#000000" colspan="2" height="25" align="left">
                          <c:choose>
	                    	<c:when test="${!empty jcqk12}">
	                    	<textarea class="text" name="jcqk12" id="jcqk12"  rows="" cols="" type="text">${jcqk12}</textarea>
	                    	</c:when>
	                    	<c:otherwise>
	                    	 <textarea class="text" name="jcqk12" id="jcqk12" rows="" cols="" type="text">${CurrUserName }</textarea>
	                    	</c:otherwise>
                    	</c:choose>
                       <input type="button" value="选择" onclick="selectUser('jcqk11');">
                    </td>
                    <td colspan="2" bordercolor="#000000" style="padding: 1px 1px 1px 1px;">
                        <input name="jcjg12"  value="1" ${jcjg12==null ||jcjg12==1?'checked':'' } type="radio" onclick="isSatisfy(0)"/>合格<input name="jcjg12"  value="0" ${jcjg12==0?'checked':'' } type="radio"  onclick="isSatisfy(1)">不合格 
                     	<!-- <textarea class="text" name="jcjg12" rows="" cols="" type="text">${jcjg12 }</textarea>--> 
                    </td>
                    <td colspan="1" align="center"  bordercolor="#000000" style="padding: 1px 1px 1px 1px;">
                    	<div id="fj12div">
                    		<c:if test="${!empty fj12}">
                    			<a href="javascript:openFj('${ctx}${fj12}');" title="${fj12name}.${fj12type}"><img src="${ctx}/resources/images/fileType/${fj12type}.gif" onerror="nofound();" border="0" class="img_16x16"/></a>
                    		</c:if>
                    	</div>
                    </td>       
                    <td colspan="1" align="center"  bordercolor="#000000" style="padding: 1px 1px 1px 1px;">
                    	<input type="button" value="上传" onclick="openUploadFj('fj12');"/>
                    </td>
                    <td bordercolor="#000000" colspan="2" height="25" align="left">
                        <textarea class="text" name="bz12" rows="" cols="" type="text">${bz12 }</textarea>
                    </td>
                </tr>
                <tr>
                    <td bordercolor="#000000" colspan="1" height="25" align="center">11</td>
                    <td bordercolor="#000000" colspan="2" height="25" align="left">车辆总运力</td>
                    <td colspan="2" bordercolor="#000000" style="padding: 1px 1px 1px 1px;">
                                              <c:choose>
	                    	<c:when test="${!empty jcqk13}">
	                    	<textarea class="text" name="jcqk13" id="jcqk13"  rows="" cols="" type="text">${jcqk13}</textarea>
	                    	</c:when>
	                    	<c:otherwise>
	                    	 <textarea class="text" name="jcqk13" id="jcqk13" rows="" cols="" type="text">${CurrUserName }</textarea>
	                    	</c:otherwise>
                    	</c:choose>
                       <input type="button" value="选择" onclick="selectUser('jcqk13');">
                    </td>
                    <td colspan="2" bordercolor="#000000" style="padding: 1px 1px 1px 1px;">
                         <!--<input name="jcjg13"  value="1" ${jcjg13==null ||jcjg13==1?'checked':'' } type="radio" onclick="isSatisfy(0)"/>合格<input name="jcjg13"  value="0" ${jcjg13==0?'checked':'' } type="radio"  onclick="isSatisfy(1)">不合格-->
                     	<textarea class="text" name="jcjg13" rows="" cols="" type="text">${jcjg13 }</textarea>  
                    </td>   
                    <td colspan="1" align="center" bordercolor="#000000" style="padding: 1px 1px 1px 1px;">
                    	<div id="fj13div">
                    		<c:if test="${!empty fj13}">
                    			<a href="javascript:openFj('${ctx}${fj13}');" title="${fj13name}.${fj13type}"><img src="${ctx}/resources/images/fileType/${fj13type}.gif" onerror="nofound();" border="0" class="img_16x16"/></a>
                    		</c:if>
                    	</div>
                    </td>     
                    <td colspan="1" align="center" bordercolor="#000000" style="padding: 1px 1px 1px 1px;">
                    	<input type="button" value="上传" onclick="openUploadFj('fj13');"/>
                    </td>
                    <td bordercolor="#000000" colspan="2" height="25" align="left">
                        <textarea class="text" name="bz13" rows="" cols="" type="text">${bz13 }</textarea>
                    </td>
                </tr>
                                                                                                                                                                                                                                                                                                                           
                <tr>
                    <td bordercolor="#000000" colspan="1" height="25" align="center">检查结论</td>                  
                    <td colspan="11" bordercolor="#000000">
                     <textarea id="jcjl" class="text" name="jcjl" rows="10" style="width:100%">${jcjl }</textarea>
                    </td>       
                </tr>
              </table></td>
            </tr>
            
            <tr>
              <td>&nbsp;</td>
            </tr>
         <tr>
        <td>&nbsp;</td>
      </tr>
    </table>